package com.uubx.service.impl;

import com.uubx.mapper.OderMapper;
import com.uubx.service.OderService;
import com.uubx.vo.OderVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class OderServiceImpl implements OderService {

    @Autowired
    private OderMapper oderMapper;


    @Override
    public List<Map> findOderWhere(OderVo oderVo) {

        return oderMapper.findOderWhere(oderVo);
    }

    @Override
    public List<Map> findOderById(Long id) {
        return  oderMapper.findOderById(id);

    }
}
